FKCart\Includes\Front D

Total Complexity 200
Dependencies 9
Dependents 3
Total lines 1,180
Lines of code 736
Logical lines of code 356
Comment lines 276
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
get_cart_items()
B
39 18 51
localize_data()
A
40 12 55
display_strike_price()
A
42 12 52
you_saved_price()
A
48 10 29
append_cart_link()
A
51 10 24
get_preview_item()
S
48 7 30
get_subtotal_row()
S
57 7 15
unset_cookies()
S
60 7 13
load_cart_assets()
S
57 6 16
get_subtotal()
S
56 6 16
mini_cart_shortcode_cb()
S
60 6 13
cart_content()
S
56 5 19
wc_cart_totals_coupon_html()
S
56 5 17
get_dummy_preview_item()
S
55 5 16
enable_woocommerce_enable_ajax_add_to_cart()
S
63 6 10
append_ajax_parameter()
S
59 5 15
init_hooks()
S
53 4 22
unset_php_cookies()
S
57 4 17
is_excluded_product_types()
S
58 4 15
get_total_row()
S
63 5 9
unset_js_cookies()
S
59 1 59
get_min_max_step()
S
58 4 14
get_coupons()
S
59 4 14
get_upsell_products()
S
61 4 13
get_smart_buttons()
S
60 4 13
get_items()
S
57 3 17
handleCartFlickering()
S
61 2 19
get_special_addon_products()
S
64 3 10
fkcart_cart_item_saving_value_round()
S
64 3 10
get_product_subtotal()
S
63 3 10
disable_woocommerce_cart_redirect_after_add()
S
70 3 6
get_cart_content_count()
S
77 3 3
get_dummy_product_price()
S
76 3 3
get_dummy_rewards()
S
52 1 29
get_discounted_subtotal()
S
66 2 8
cart_icon()
S
69 2 7
attach_action()
S
69 2 6
is_rest_call()
S
79 2 3
enqueue_smart_button_javascript()
S
81 1 3
add_to_cart_trigger()
S
77 1 4
get_dummy_upsell_products()
S
68 1 7
button_icon_fragments()
S
71 1 6
register_shortcode()
S
79 1 3
get_mini_cart_toggler()
S
71 1 6
__construct()
S
64 1 9